package com.base.service;

import com.base.po.voip.SelfShopAddress;
import com.base.po.voip.SelfShopAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SelfShopAddressService {
    int countByExample(SelfShopAddressExample example);

    int deleteByExample(SelfShopAddressExample example);

    int insert(SelfShopAddress record);

    int insertSelective(SelfShopAddress record);

    List<SelfShopAddress> selectByExample(SelfShopAddressExample example);

    List<SelfShopAddress> selectAllByUserID(String userid);

    SelfShopAddress selectByPrimaryKey(String id);

    SelfShopAddress selectByUserID(String userid);

    int updateByExampleSelective(@Param("record") SelfShopAddress record, @Param("example") SelfShopAddressExample example);

    int updateByExample(@Param("record") SelfShopAddress record, @Param("example") SelfShopAddressExample example);

    int updateByPrimaryKeySelective(SelfShopAddress record);

    int updateByUserId(String userid);
}